package com.example.lemis.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.lemis.model.domain.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lemis.model.dto.BannerDTO;
import com.example.lemis.model.dto.PageDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxp
 * @since 2025-06-24
 */
public interface IBannerService extends IService<Banner> {

    Map upload(MultipartFile file);

    Banner add(Banner banner);

    Page<BannerDTO> BannerList(BannerDTO bannerDTO, PageDTO pageDTO);
}
